<div id="nav">
			<ul>
                            <a href="index.php">
					<li class="logo">
						<img src="images/logo.png" alt="">
					</li>
				</a>
                                <?php 
                                    foreach ($bbsdata as $v){
                                ?>
                            <a href="list.php?cat=<?php echo $v['slug'];?>">
					<li class="option">
						<i class="fa fa-glass" aria-hidden="true"></i>
                                                <span><?php echo $v['name'];?></span>		
					</li>
				</a>
                                    <?php }?>
				<hr/>
				<li class="search_1">
					<form action="">
						<input type="text" placeholder="请输入关键字" style="width:110px;height: 35px;float: left;">
						<input class="submit_1" type="submit" value="搜索" style="">
					</form>
				</li>
				<hr/>
				<li class="link">
					<span><a href="admin/login.php">后台登陆</a><p>&nbsp;|&nbsp;</p><a href="">连接02</a></span>
				</li>
			</ul>
		</div>